set JAVAHOME=c:\jdk1.4.1
set WINTABKIT_HOME=c:\Wintab\WTKIT126


javac -classpath ..\..\classes -d ..\..\classes ..\..\src\fr\emn\win32input\jwintab\JWintab.java  
javah -classpath ..\..\classes fr.emn.win32input.jwintab.JWintab

@REM Visual Studio and wintab developer kit (http://www.pointing.com/WINTAB.HTM) must be installed for the next command line to work
cl -LD -I%WINTABKIT_HOME%\include -I%JAVAHOME%\include -I%JAVAHOME%\include\win32 wintabwrapper.c /link %WINTABKIT_HOME%\lib\i386\wintab32.lib

mv wintabwrapper.dll ..

@del *.h
@del *.exp
@del *.lib
@del *.obj
